package org.zero.manager;

import com.alipay.api.AlipayApiException;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.zero.model.AlipayRequest;

/**
 * @author Zero (cnzeropro@qq.com)
 * @date 2021/10/5 17:53
 */
public interface AlipayManager {
    /**
     * 支付
     *
     * @param alipayRequest
     * @return
     * @throws AlipayApiException
     * @throws JsonProcessingException
     */
    String pay(AlipayRequest alipayRequest) throws AlipayApiException, JsonProcessingException;
}
